entry: Redo textarea handling
authorBenjamin Otte <otte@redhat.com>
Mon, 25 Jan 2016 00:33:28 +0000 (01:33 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 25 Jan 2016 14:49:17 +0000 (15:49 +0100)
commitb52b4068afcd0394cc8b34b94d95a73de2127956
tree386380c5c1481eab8f16ab1864ecb4c714c607e7
parentc70907256794a8a76ed75fa754110f6e5cd3d403
entry: Redo textarea handling

(1) Keep priv->text_allocation for the area used by the text
(2) Compute all text coordinates with the help of priv->text_allocation

As a side effect the get_text_area_size and get_frame_size vfuncs are
now unused. If we wanted them back, they should get a single use durig
size_allocate() and then their results should be stored for further
processing.
gtk/gtkentry.c